package com.draemon.haixiawenti.repository;

import com.yangzcp.userpojo.Users;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * <p></p>
 *
 * @author  yangz
 * @date    2016/11/13
 * @version latest
 */
public interface UsersRepository extends JpaRepository<Users, Integer>{
    Users findByTel(String tel);
    Users findByTelAndPassword(String tel, String password);
    Users findBySign(String sign);
}
